Programmer-Defined Functions
The programmer who implements a shell plug-in must define its installation function. When you implement the installation function for your shell plug-in, you must be careful to observe the following conventions:
The following description of the
- Your function must be named
ODShellPluginInstall
; case is important. If you misspell the name, your shell plug-in will not be installed.- Your function's parameters and return type must match those specified for the
ODShellPluginInstallProc
type.- If installation succeeds, your function must return the value
noErr
.- The compiler must export the name of your function as an entry point.
- Your function must follow C calling conventions. If you use C++, you must surround your installation function's declaration with an
extern "C"
declaration to ensure that parameters are passed in the correct order on 680x0 systems.
ODShellPluginInstall
function illustrates the form of a shell-plug-in installation function.
Subtopics
- ODShellPluginInstall
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help